summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/protocol.cpp2
-rw-r--r--src/users.cpp4
2 files changed, 3 insertions, 3 deletions
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);
}
}