summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 46bf70744..f1dc57794 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -31,7 +31,7 @@ using namespace std;
#include "helperfuncs.h"
extern std::stringstream config_f;
-extern char ServerName[MAXBUF];
+extern ServerConfig* Config;
extern time_t TIME;
@@ -46,7 +46,7 @@ userrec::userrec()
strcpy(dhost,"");
strcpy(fullname,"");
strcpy(modes,"");
- server = (char*)FindServerNamePtr(ServerName);
+ server = (char*)FindServerNamePtr(Config->ServerName);
strcpy(awaymsg,"");
strcpy(oper,"");
reset_due = TIME;