summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-01-05 15:20:17 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-01-05 15:20:17 +0100
commit9136136ac373a922cd0875f77d3212a419fb9100 (patch)
tree385afcb56e62de5a39bed1d7bf6d5311cc001df9 /include/users.h
parent11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f (diff)
Move server description field from TreeServer into Server; remove OnGetServerDescription hook
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h
index bf4ba4de2..f8bfb5a6e 100644
--- a/include/users.h
+++ b/include/users.h
@@ -832,8 +832,8 @@ class CoreExport FakeUser : public User
nick = srv->GetName();
}
- FakeUser(const std::string& uid, const std::string& sname)
- : User(uid, new Server(sname), USERTYPE_SERVER)
+ FakeUser(const std::string& uid, const std::string& sname, const std::string& sdesc)
+ : User(uid, new Server(sname, sdesc), USERTYPE_SERVER)
{
nick = sname;
}