X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_satopic.cpp;h=855a5ca5685369e95f8b97fcaf979ef9158aa1da;hb=be609949e3ec2543d6cb16d23240870028732f36;hp=4394cb799f1ad23ab3bdbc6b263fa6a79516d8b9;hpb=61d3a678caa80cba61087ffc9c6fb79a906f2624;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_satopic.cpp b/src/modules/m_satopic.cpp index 4394cb799..855a5ca56 100644 --- a/src/modules/m_satopic.cpp +++ b/src/modules/m_satopic.cpp @@ -43,14 +43,11 @@ class CommandSATopic : public Command ServerInstance->SNO->WriteToSnoMask('A', user->nick + " used SATOPIC on " + target->name + ", new topic: " + newTopic); ServerInstance->PI->SendSNONotice("A", user->nick + " used SATOPIC on " + target->name + ", new topic: " + newTopic); - /* I think this is right, the TOPIC message generated should be - * propogated without the SATOPIC command itself having to be. - */ return CMD_LOCALONLY; } else { - user->WriteNumeric(401, "%s %s :No such nick/channel", user->nick.c_str(), target->name.c_str()); + user->WriteNumeric(401, "%s %s :No such nick/channel", user->nick.c_str(), parameters[0].c_str()); return CMD_FAILURE; } } @@ -73,7 +70,7 @@ class ModuleSATopic : public Module virtual Version GetVersion() { - return Version(1, 2, 0, 0, VF_COMMON | VF_VENDOR, API_VERSION); + return Version("$Id$", VF_VENDOR, API_VERSION); } };