summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/hostserv.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-04-23 05:08:26 -0400
committerAdam <Adam@anope.org>2012-04-23 05:08:26 -0400
commit573e49a7ead331219eb6f0d3ca9cf83e793a5c9c (patch)
treee145e04fa3d041cf92ce46da4ac790b63231059c /modules/pseudoclients/hostserv.cpp
parent63c639e108a00d7dbb0d7ac9891684fc83a3b207 (diff)
Reworked live SQL support yet again
Diffstat (limited to 'modules/pseudoclients/hostserv.cpp')
-rw-r--r--modules/pseudoclients/hostserv.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pseudoclients/hostserv.cpp b/modules/pseudoclients/hostserv.cpp
index 0e7699c5f..c350903d0 100644
--- a/modules/pseudoclients/hostserv.cpp
+++ b/modules/pseudoclients/hostserv.cpp
@@ -23,7 +23,7 @@ class HostServCore : public Module
if (!ircd || !ircd->vhost)
throw ModuleException("Your IRCd does not suppor vhosts");
- BotInfo *HostServ = findbot(Config->HostServ);
+ const BotInfo *HostServ = findbot(Config->HostServ);
if (HostServ == NULL)
throw ModuleException("No bot named " + Config->HostServ);
@@ -33,7 +33,7 @@ class HostServCore : public Module
void OnNickIdentify(User *u) anope_override
{
- NickAlias *na = findnick(u->nick);
+ const NickAlias *na = findnick(u->nick);
if (!na || !na->HasVhost())
na = findnick(u->Account()->display);
if (!na || !na->HasVhost())
@@ -50,7 +50,7 @@ class HostServCore : public Module
if (ircd->vident && !na->GetVhostIdent().empty())
u->SetVIdent(na->GetVhostIdent());
- BotInfo *bi = findbot(Config->HostServ);
+ const BotInfo *bi = findbot(Config->HostServ);
if (bi)
{
if (!na->GetVhostIdent().empty())