X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_spy.cpp;h=d8843094f5e2a9952845e7e1ba7cd87bfd9702ab;hb=02c6ce1ad09a7471a6b03dc00bac4b843d157489;hp=356000f97cf68624d774ed3f1512fdb5a3b03a12;hpb=9cf56d917d92959701694477f7944d45ad2c38ed;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp index 356000f97..d8843094f 100644 --- a/src/modules/m_spy.cpp +++ b/src/modules/m_spy.cpp @@ -18,11 +18,10 @@ /* $ModDesc: Provides SPYLIST and SPYNAMES capability, allowing opers to see who's in +s channels */ -#include "inspircd_config.h" +#include "inspircd.h" #include "users.h" #include "channels.h" #include "modules.h" -#include "inspircd.h" #include "wildcard.h" void spy_userlist(userrec *user, chanrec *c) @@ -78,7 +77,7 @@ class cmd_spylist : public command_t cmd_spylist (InspIRCd* Instance) : command_t(Instance,"SPYLIST", 'o', 0) { this->source = "m_spy.so"; - syntax = ""; + syntax.clear(); } CmdResult Handle (const char** parameters, int pcnt, userrec *user)