fix bug 190 chanmsg message

This commit is contained in:
Mark 2004-09-09 19:38:37 +00:00
parent 59d741b619
commit 9ffd320a98
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
SecureServ Module for NeoStats Changelog.
==============================================================================
1.3 - Fish (F) and Mark (M) - 27 Aug, 2004
- Fix bug 190 - wrong message displayed for chan message off. (M)
- Fix bug 176 - monchans and excludes (M)
- Ported to core command processor (M)
- SET interface for nick/user/host/realname added (M)

View file

@ -136,8 +136,8 @@ static int do_set_treatchanmsgaspm(User *u, char **av, int ac)
SecureServ.treatchanmsgaspm = 1;
return 1;
} else if ((!strcasecmp(av[3], "NO")) || (!strcasecmp(av[3], "OFF"))) {
prefmsg(u->nick, s_SecureServ, "Version Checking is now Disabled");
chanalert(s_SecureServ, "%s has disabled Version Checking", u->nick);
prefmsg(u->nick, s_SecureServ, "Channel message checking is now disabled");
chanalert(s_SecureServ, "%s has disabled channel message checking", u->nick);
SetConf((void *)0, CFGINT, "ChanMsgAsPM");
SecureServ.treatchanmsgaspm = 0;
return 1;