diff options
| author | 2006-07-08 17:44:16 +0000 | |
|---|---|---|
| committer | 2006-07-08 17:44:16 +0000 | |
| commit | 33ed72a1dfae595132dd50c760b6a312ef2ce8fe (patch) | |
| tree | 028c5a9cd64e99ee0574a0e9e89e8e2b5d2a0d1a /src/cmd_die.cpp | |
| parent | Added usermodes +swi. (diff) | |
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
Diffstat (limited to 'src/cmd_die.cpp')
| -rw-r--r-- | src/cmd_die.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
