]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_ison.cpp
core_list Check whether the chan name/topic has to be Match()ed once, not once per...
[user/henk/code/inspircd.git] / src / coremods / core_ison.cpp
index c7ead2a87f1c73dcfec9225413747338c43287c6..53d2e1c49ef7c7eb5f1d4faa12839a5103b01c5e 100644 (file)
@@ -52,7 +52,7 @@ CmdResult CommandIson::Handle (const std::vector<std::string>& parameters, User
                if (ison_already.find(u) != ison_already.end())
                        continue;
 
-               if (u)
+               if ((u) && (u->registered == REG_ALL))
                {
                        reply.append(u->nick).append(" ");
                        if (reply.length() > 450)
@@ -77,7 +77,7 @@ CmdResult CommandIson::Handle (const std::vector<std::string>& parameters, User
                                        if (ison_already.find(u) != ison_already.end())
                                                continue;
 
-                                       if (u)
+                                       if ((u) && (u->registered == REG_ALL))
                                        {
                                                reply.append(u->nick).append(" ");
                                                if (reply.length() > 450)