summaryrefslogtreecommitdiff
path: root/src/cmd_nick.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 21:43:48 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 21:43:48 +0000
commitb669f920eaa9fb795d0a103d724943898a0df4b2 (patch)
tree41418faca6e863052dbf23f1741606320f7d7095 /src/cmd_nick.cpp
parent8d1af47d0271e5f08057bec64dee6d18a7b35021 (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/cmd_nick.cpp')
-rw-r--r--src/cmd_nick.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd_nick.cpp b/src/cmd_nick.cpp
index 976c78a7d..52e562d02 100644
--- a/src/cmd_nick.cpp
+++ b/src/cmd_nick.cpp
@@ -17,7 +17,7 @@
extern "C" DllExport Command* init_command(InspIRCd* Instance)
{
- return new cmd_nick(Instance);
+ return new CommandNick(Instance);
}
/** Handle nick changes from users.
@@ -25,7 +25,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
* for the client introduction code in here, youre in the wrong place.
* You need to look in the spanningtree module for this!
*/
-CmdResult cmd_nick::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandNick::Handle (const char** parameters, int pcnt, User *user)
{
char oldnick[NICKMAX];
@@ -161,7 +161,7 @@ CmdResult cmd_nick::Handle (const char** parameters, int pcnt, User *user)
}
-CmdResult cmd_nick::HandleInternal(const unsigned int id, const std::deque<classbase*> &parameters)
+CmdResult CommandNick::HandleInternal(const unsigned int id, const std::deque<classbase*> &parameters)
{
allowinvalid = (id != 0);
return CMD_SUCCESS;