summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2010-10-07 14:17:20 +0200
committerDukePyrolator <DukePyrolator@anope.org>2010-10-07 14:17:20 +0200
commit5298107ae83d5b6b734467cb06495b142e710c26 (patch)
tree353c992bb6b1191f11a0ac73ddbfcfa85aef7b4f
parent7f4362138ab8d015ae4b200fa96d85ee70a7e184 (diff)
fixed internally setting +o on OPERTYPE
-rw-r--r--modules/protocol/inspircd12.cpp1
-rw-r--r--modules/protocol/inspircd20.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/modules/protocol/inspircd12.cpp b/modules/protocol/inspircd12.cpp
index 419008e85..6b50eff52 100644
--- a/modules/protocol/inspircd12.cpp
+++ b/modules/protocol/inspircd12.cpp
@@ -360,7 +360,6 @@ bool event_opertype(const Anope::string &source, const std::vector<Anope::string
{
std::vector<Anope::string> newparams;
newparams.push_back(source);
- newparams.push_back(Anope::CurTime);
newparams.push_back("+o");
return event_mode(source, newparams);
}
diff --git a/modules/protocol/inspircd20.cpp b/modules/protocol/inspircd20.cpp
index 6fc00e7d9..4f7d8353f 100644
--- a/modules/protocol/inspircd20.cpp
+++ b/modules/protocol/inspircd20.cpp
@@ -359,11 +359,9 @@ bool event_opertype(const Anope::string &source, const std::vector<Anope::string
{
std::vector<Anope::string> newparams;
newparams.push_back(source);
- newparams.push_back(Anope::CurTime);
newparams.push_back("+o");
return event_mode(source, newparams);
}
-
return true;
}