]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_who.cpp
- Modify ServerConfig::GetFullProgDir to just return cwd, previously it did a lot...
[user/henk/code/inspircd.git] / src / cmd_who.cpp
index bdbca597e4bd270c7be5fff65d19bbd09efda39e..028ce3121451cc66ddd7292562d5a536937fa9b3 100644 (file)
@@ -110,7 +110,7 @@ bool cmd_who::whomatch(userrec* user, const char* matchtext)
 
 
 
-extern "C" command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
 {
        return new cmd_who(Instance);
 }
@@ -147,7 +147,7 @@ void cmd_who::SendWhoLine(userrec* user, const std::string &initial, chanrec* ch
                                " " + u->nick + " ";
 
        /* away? */
-       if (*u->awaymsg)
+       if (IS_AWAY(u))
        {
                wholine.append("G");
        }