diff options
| author | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-09-29 20:19:18 +0000 |
|---|---|---|
| committer | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-09-29 20:19:18 +0000 |
| commit | 676b8eaf7fcec02ad2583dc0bcc531942b65068e (patch) | |
| tree | d8405dc99f4b8a50935452374b7afc983dfde641 /src/modules | |
| parent | b6f83ea4db94339449c05be946477b729e9b991a (diff) | |
BUILD : 1.7.5 (362) BUGS : 17 143 147 166 172 173 NOTES : Applied patch 927 provided by Trystan.
git-svn-id: svn://svn.anope.org/anope/trunk@362 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@233 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/ircd_catserv.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/modules/ircd_catserv.c b/src/modules/ircd_catserv.c index 05a3f997d..17aede270 100644 --- a/src/modules/ircd_catserv.c +++ b/src/modules/ircd_catserv.c @@ -27,7 +27,14 @@ int AnopeInit(int argc, char **argv) { Message *msg = NULL; int status; +#ifdef IRC_UNREAL32 + msg = createMessage("PRIVMSG", my_privmsg); + if (UseTokens) { + msg = createMessage("!", my_privmsg); + } +#else msg = createMessage("PRIVMSG", my_privmsg); +#endif status = moduleAddMessage(msg, MOD_HEAD); if (status == MOD_ERR_OK) { addClient(s_CatServ, "meow!"); @@ -81,7 +88,7 @@ void addClient(char *nick, char *realname) void delClient(void) { - send_cmd(s_CatServ, "QUIT :Module Unloaded!"); + anope_cmd_quit(s_CatServ, "QUIT :Module Unloaded!"); } void addMessageList(void) |
