diff options
| author | 2013-04-09 19:12:09 +0200 | |
|---|---|---|
| committer | 2013-04-10 17:28:08 +0200 | |
| commit | ca0083cba90c8830f5018b73eb715665a8db9dd7 (patch) | |
| tree | 20d335e4d7c2f886fbce00d494eead769d22c543 /src/commands/cmd_privmsg.cpp | |
| parent | Update Window's .gitignore (diff) | |
Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()
Diffstat (limited to 'src/commands/cmd_privmsg.cpp')
| -rw-r--r-- | src/commands/cmd_privmsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_privmsg.cpp b/src/commands/cmd_privmsg.cpp index 09314e8a9..49845162c 100644 --- a/src/commands/cmd_privmsg.cpp +++ b/src/commands/cmd_privmsg.cpp @@ -202,7 +202,7 @@ CmdResult CommandPrivmsg::Handle (const std::vector<std::string>& parameters, Us return CMD_FAILURE; } - if (IS_AWAY(dest)) + if (dest->IsAway()) { /* auto respond with aweh msg */ user->WriteNumeric(301, "%s %s :%s", user->nick.c_str(), dest->nick.c_str(), dest->awaymsg.c_str()); |
