]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_topiclock.cpp
Omit the server name internally when building a /STATS reply and prepend it later
[user/henk/code/inspircd.git] / src / modules / m_topiclock.cpp
index 2d539dcabd0e8679d94eb17ea83debc479082ef6..c7431b4c67582d2c95fcab03f0291a6b267e905f 100644 (file)
@@ -29,7 +29,7 @@ class CommandSVSTOPIC : public Command
 
        CmdResult Handle(const std::vector<std::string> &parameters, User *user)
        {
-               if (!ServerInstance->ULine(user->server))
+               if (!user->server->IsULine())
                {
                        // Ulines only
                        return CMD_FAILURE;