]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
cmd_who Hide +i users when listing users on a server and hidewhois is off
authorattilamolnar <attilamolnar@hush.com>
Sat, 1 Jun 2013 18:53:45 +0000 (20:53 +0200)
committerattilamolnar <attilamolnar@hush.com>
Sat, 1 Jun 2013 18:53:45 +0000 (20:53 +0200)
Fixes #547 reported by @RawrDragon

src/commands/cmd_who.cpp

index c8cb676943e6be921d2f64afe6b040ab5a60e563..f8926b9f7a473e1ac5835a370cb63d5a91cb5292 100644 (file)
@@ -264,7 +264,7 @@ CmdResult CommandWho::Handle (const std::vector<std::string>& parameters, User *
 
        for (const char* check = matchtext; *check; check++)
        {
 
        for (const char* check = matchtext; *check; check++)
        {
-               if (*check == '*' || *check == '?')
+               if (*check == '*' || *check == '?' || *check == '.')
                {
                        usingwildcards = true;
                        break;
                {
                        usingwildcards = true;
                        break;