diff options
| author | 2008-01-17 12:29:33 +0000 | |
|---|---|---|
| committer | 2008-01-17 12:29:33 +0000 | |
| commit | 932e069f287ceeb184eafae71c0e22b259e62740 (patch) | |
| tree | d31f876de56963c99dd4183eeaa86628c1241c5b /src/commands/cmd_server.cpp | |
| parent | Move a number of methods from class InspIRCd to class UserManager (diff) | |
| download | inspircd++-932e069f287ceeb184eafae71c0e22b259e62740.tar.gz inspircd++-932e069f287ceeb184eafae71c0e22b259e62740.tar.bz2 inspircd++-932e069f287ceeb184eafae71c0e22b259e62740.zip | |
Start converting WriteOpers calls into snomask 'O' -- generic oper notices.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8727 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_server.cpp')
| -rw-r--r-- | src/commands/cmd_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_server.cpp b/src/commands/cmd_server.cpp index 446418dd3..f069e7713 100644 --- a/src/commands/cmd_server.cpp +++ b/src/commands/cmd_server.cpp @@ -24,6 +24,6 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance) CmdResult CommandServer::Handle (const char**, int, User *user) { user->WriteServ("666 %s :You cannot identify as a server, you are a USER. IRC Operators informed.",user->nick); - ServerInstance->WriteOpers("*** WARNING: %s attempted to issue a SERVER command and is registered as a user!",user->nick); + ServerInstance->SNO->WriteToSnoMask('O', "WARNING: %s attempted to issue a SERVER command and is registered as a user!", user->nick); return CMD_FAILURE; } |
