summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 10:48:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-16 10:48:15 +0000
commit4c49bf3b29c9f64afc0221cf8beb9da666424dca (patch)
treece74d060f7abdacb01154017c720543273df53d2
parente461c57b491e5ab56b9f03a099ab2de0972427ed (diff)
Changed to Parser->CreateCommand()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2519 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index ce5c3016d..2acd07d77 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -419,7 +419,7 @@ void Server::Log(int level, std::string s)
void Server::AddCommand(char* cmd, handlerfunc f, char flags, int minparams, char* source)
{
- createcommand(cmd,f,flags,minparams,source);
+ Parser->CreateCommand(cmd,f,flags,minparams,source);
}
void Server::SendMode(char **parameters, int pcnt, userrec *user)