diff options
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(); |