summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-05 19:50:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-05 19:50:10 +0000
commit8f385c300681b8872cd0a76054970a3086178823 (patch)
tree300a4136c9302b900c8a89783b8f9efc07c060e1 /src/commands.cpp
parent2ade6284f9044792177664214e7097e23eccd280 (diff)
This has changed again, i suggest you dont bother trying to keep up till im done :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5863 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 581dde34b..60e7c98dc 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -32,16 +32,14 @@ bool InspIRCd::ULine(const char* server)
return (find(Config->ulines.begin(),Config->ulines.end(),server) != Config->ulines.end());
}
-int InspIRCd::OperPassCompare(const char* data,const char* input)
+int InspIRCd::OperPassCompare(const char* data,const char* input, int tagnum)
{
int MOD_RESULT = 0;
- FOREACH_RESULT_I(this,I_OnOperCompare,OnOperCompare(data,input))
- Log(DEBUG,"OperPassCompare: %d",MOD_RESULT);
+ FOREACH_RESULT_I(this,I_OnOperCompare,OnOperCompare(data, input, tagnum))
if (MOD_RESULT == 1)
return 0;
if (MOD_RESULT == -1)
return 1;
- Log(DEBUG,"strcmp fallback: '%s' '%s' %d",data,input,strcmp(data,input));
return strcmp(data,input);
}