From 33ed72a1dfae595132dd50c760b6a312ef2ce8fe Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 8 Jul 2006 17:44:16 +0000 Subject: Refactored user modes to work like the channel modes - core and module data now the same storage format without ::modebits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4175 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_die.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_die.cpp') diff --git a/src/cmd_die.cpp b/src/cmd_die.cpp index c5514c067..494eba0c5 100644 --- a/src/cmd_die.cpp +++ b/src/cmd_die.cpp @@ -40,7 +40,7 @@ void cmd_die::Handle (char **parameters, int pcnt, userrec *user) { userrec* a = *i; - if (IS_LOCAL(a) && (a->modebits & UM_SERVERNOTICE)) + if (IS_LOCAL(a) && (a->modes[UM_SERVERNOTICE])) { WriteServ(a->fd, "NOTICE %s :*** DIE command from %s!%s@%s, terminating...", a->nick, a->nick, a->ident, a->host); a->FlushWriteBuf(); -- cgit v1.3.1-10-gc9f91