diff mcabber/src/jabglue.h @ 472:75442262c082

Disable some commands when not connected Disable status/status_to, add, rawxml, room, say/msay when not connected, as these commands could be called with an empty buddylist.
author Mikael Berthe <mikael@lilotux.net>
date Sun, 02 Oct 2005 18:05:34 +0200
parents a926523d2392
children fa49ac0bb8f3
line wrap: on
line diff
--- a/mcabber/src/jabglue.h	Sun Oct 02 10:57:09 2005 +0200
+++ b/mcabber/src/jabglue.h	Sun Oct 02 18:05:34 2005 +0200
@@ -40,6 +40,7 @@
                   const char *resource);
 jconn jb_connect(const char *jid, const char *server, unsigned int port,
                  int ssl, const char *pass);
+inline unsigned char jb_getonline(void);
 void jb_disconnect(void);
 void jb_main();
 void jb_addbuddy(const char *jid, const char *name, const char *group);