summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 5c88f9666..a1890f6c5 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -412,7 +412,7 @@ void User::AutoID(const std::string &account)
delete [] na->last_realname;
na->last_realname = sstrdup(this->realname);
na->last_seen = time(NULL);
- this->SetMode(findbot(Config.s_NickServ), UMODE_REGISTERED);
+ this->SetMode(NickServ, UMODE_REGISTERED);
this->UpdateHost();
check_memos(this);