]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_privmsg.cpp
Merge pull request #543 from SaberUK/master+sizeparam-removal
[user/henk/code/inspircd.git] / src / commands / cmd_privmsg.cpp
index 09314e8a9f06728691825a3cd091fe9066a0685d..49845162cac0a85b619d43a5e9dc9cc6cce9b0f4 100644 (file)
@@ -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());