summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/channels.h2
-rw-r--r--include/protocol.h4
-rw-r--r--modules/protocol/ngircd.cpp26
3 files changed, 3 insertions, 29 deletions
diff --git a/include/channels.h b/include/channels.h
index 547db9f20..ec12e4ab8 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -60,7 +60,7 @@ class CoreExport Channel : public Base, public Extensible
Anope::string topic;
/* Who set the topic */
Anope::string topic_setter;
- /* The timestamp associated with the topic. Not necessarually anywhere close to Anope::CurTime.
+ /* The timestamp associated with the topic. Not necessarily anywhere close to Anope::CurTime.
* This is the time the topic was *originally set*. When we restore the topic we want to change the TS back
* to this, but we can only do this on certain IRCds.
*/
diff --git a/include/protocol.h b/include/protocol.h
index d8029d53d..eb8af4180 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -196,8 +196,8 @@ class CoreExport IRCDProto : public Service
*/
virtual void SendConnect() = 0;
- /** Called right before we begin our burst, after we have handshaked successfully with the uplink/
- * At this point none of our servesr, users, or channels exist on the uplink
+ /** Called right before we begin our burst, after we have handshaked successfully with the uplink.
+ * At this point none of our servers, users, or channels exist on the uplink
*/
virtual void SendBOB() { }
virtual void SendEOB() { }
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
index bcd4826f2..c401f406c 100644
--- a/modules/protocol/ngircd.cpp
+++ b/modules/protocol/ngircd.cpp
@@ -108,14 +108,6 @@ class ngIRCdProto : public IRCDProto
}
}
- void SendKickInternal(const MessageSource &source, const Channel *chan, User *user, const Anope::string &buf) anope_override
- {
- if (!buf.empty())
- UplinkSocket::Message(source) << "KICK " << chan->name << " " << user->nick << " :" << buf;
- else
- UplinkSocket::Message(source) << "KICK " << chan->name << " " << user->nick;
- }
-
void SendLogin(User *u, NickAlias *na) anope_override
{
UplinkSocket::Message(Me) << "METADATA " << u->GetUID() << " accountname :" << na->nc->display;
@@ -126,30 +118,12 @@ class ngIRCdProto : public IRCDProto
UplinkSocket::Message(Me) << "METADATA " << u->GetUID() << " accountname :";
}
- void SendModeInternal(const MessageSource &source, const Channel *dest, const Anope::string &buf) anope_override
- {
- UplinkSocket::Message(source) << "MODE " << dest->name << " " << buf;
- }
-
- void SendPartInternal(User *u, const Channel *chan, const Anope::string &buf) anope_override
- {
- if (!buf.empty())
- UplinkSocket::Message(u) << "PART " << chan->name << " :" << buf;
- else
- UplinkSocket::Message(u) << "PART " << chan->name;
- }
-
/* SERVER name hop descript */
void SendServer(const Server *server) anope_override
{
UplinkSocket::Message() << "SERVER " << server->GetName() << " " << server->GetHops() << " :" << server->GetDescription();
}
- void SendTopic(const MessageSource &source, Channel *c) anope_override
- {
- UplinkSocket::Message(source) << "TOPIC " << c->name << " :" << c->topic;
- }
-
void SendVhost(User *u, const Anope::string &vIdent, const Anope::string &vhost) anope_override
{
if (!vIdent.empty())