#include "users.h"
#include "commands.h"
#include "helperfuncs.h"
-#include "cmd_die.h"
+#include "commands/cmd_die.h"
extern ServerConfig* Config;
extern std::vector<userrec*> all_opers;
{
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();