]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_clearchan.cpp
Improve LIST and implement more extended list features.
[user/henk/code/inspircd.git] / src / modules / m_clearchan.cpp
index 1b4b8724ae15319127985def89818bd8db600d30..08a7a88b542d054c23b27d4cede8cfc3d20bb26e 100644 (file)
@@ -116,7 +116,7 @@ class CommandClearChan : public Command
                                XLine* xline;
                                try
                                {
-                                       mask = ((method[0] == 'Z') ? curr->GetIPString() : "*@" + curr->host);
+                                       mask = ((method[0] == 'Z') ? curr->GetIPString() : "*@" + curr->GetRealHost());
                                        xline = xlf->Generate(ServerInstance->Time(), 60*60, user->nick, reason, mask);
                                }
                                catch (ModuleException&)