From 6617d29b5227f962c348e638a373ebb78989b7ba Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 14 Dec 2019 18:37:23 +0000 Subject: Fix a bunch of broken indentation. --- src/protocol.cpp | 2 +- src/users.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/protocol.cpp b/src/protocol.cpp index dd2595992..a0dad2f96 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -359,7 +359,7 @@ bool IRCDProto::IsNickValid(const Anope::string &nick) **/ if (nick.empty()) - return false; + return false; Anope::string special = "[]\\`_^{|}"; diff --git a/src/users.cpp b/src/users.cpp index 5bca663d6..62230ba63 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -381,7 +381,7 @@ void User::Identify(NickAlias *na) if (IRCD->CanSetVHost && !this->nc->o->vhost.empty()) { this->SendMessage(NULL, "Changing your vhost to \002%s\002", this->nc->o->vhost.c_str()); - this->SetDisplayedHost(this->nc->o->vhost); + this->SetDisplayedHost(this->nc->o->vhost); IRCD->SendVhost(this, "", this->nc->o->vhost); } } @@ -541,7 +541,7 @@ void User::SetModeInternal(const MessageSource &source, UserMode *um, const Anop if (IRCD->CanSetVHost && !this->nc->o->vhost.empty()) { this->SendMessage(NULL, "Changing your vhost to \002%s\002", this->nc->o->vhost.c_str()); - this->SetDisplayedHost(this->nc->o->vhost); + this->SetDisplayedHost(this->nc->o->vhost); IRCD->SendVhost(this, "", this->nc->o->vhost); } } -- cgit