diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 21:43:48 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-21 21:43:48 +0000 |
commit | b669f920eaa9fb795d0a103d724943898a0df4b2 (patch) | |
tree | 41418faca6e863052dbf23f1741606320f7d7095 /src/modules/m_watch.cpp | |
parent | 8d1af47d0271e5f08057bec64dee6d18a7b35021 (diff) |
Another big commit, just to please all my fans out there.. cmd_* -> Command*. Muahaha.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r-- | src/modules/m_watch.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 6cc96d0f9..84058d627 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -76,7 +76,7 @@ watchentries* whos_watching_me; /** Handle /WATCH */ -class cmd_watch : public Command +class CommandWatch : public Command { unsigned int& MAX_WATCH; public: @@ -192,7 +192,7 @@ class cmd_watch : public Command return CMD_FAILURE; } - cmd_watch (InspIRCd* Instance, unsigned int &maxwatch) : Command(Instance,"WATCH",0,0), MAX_WATCH(maxwatch) + CommandWatch (InspIRCd* Instance, unsigned int &maxwatch) : Command(Instance,"WATCH",0,0), MAX_WATCH(maxwatch) { this->source = "m_watch.so"; syntax = "[C|L|S]|[+|-<nick>]"; @@ -301,7 +301,7 @@ class cmd_watch : public Command class Modulewatch : public Module { - cmd_watch* mycommand; + CommandWatch* mycommand; unsigned int maxwatch; public: @@ -310,7 +310,7 @@ class Modulewatch : public Module { OnRehash(NULL, ""); whos_watching_me = new watchentries(); - mycommand = new cmd_watch(ServerInstance, maxwatch); + mycommand = new CommandWatch(ServerInstance, maxwatch); ServerInstance->AddCommand(mycommand); } |