summaryrefslogtreecommitdiff
path: root/src/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol')
-rw-r--r--src/protocol/bahamut.c2
-rw-r--r--src/protocol/inspircd11.c2
-rw-r--r--src/protocol/unreal32.c5
3 files changed, 3 insertions, 6 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 34886126c..6bab9ff2c 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -283,7 +283,7 @@ class BahamutIRCdProto : public IRCDProto
{
bahamut_cmd_pass(uplink_server->password);
bahamut_cmd_capab();
- me_server = new_server(NULL, Config.ServerName, Config.ServerDesc, SERVER_ISME, NULL);
+ me_server = new_server(NULL, Config.ServerName, Config.ServerDesc, SERVER_ISME, "");
SendServer(me_server);
bahamut_cmd_svinfo();
bahamut_cmd_burst();
diff --git a/src/protocol/inspircd11.c b/src/protocol/inspircd11.c
index 1357f1e46..f193d685c 100644
--- a/src/protocol/inspircd11.c
+++ b/src/protocol/inspircd11.c
@@ -251,7 +251,7 @@ class InspIRCdProto : public IRCDProto
void SendConnect()
{
inspircd_cmd_pass(uplink_server->password);
- me_server = new_server(NULL, Config.ServerName, Config.ServerDesc, SERVER_ISME, NULL);
+ me_server = new_server(NULL, Config.ServerName, Config.ServerDesc, SERVER_ISME, "");
SendServer(me_server);
send_cmd(NULL, "BURST");
send_cmd(Config.ServerName, "VERSION :Anope-%s %s :%s - %s (%s) -- %s", version_number, Config.ServerName, ircd->name, version_flags, Config.EncModuleList.begin()->c_str(), version_build);
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 1ecd12860..c44293ed8 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -291,10 +291,7 @@ class UnrealIRCdProto : public IRCDProto
{
unreal_cmd_capab();
unreal_cmd_pass(uplink_server->password);
- if (Config.Numeric)
- me_server = new_server(NULL, Config.ServerName, Config.ServerDesc, SERVER_ISME, Config.Numeric);
- else
- me_server = new_server(NULL, Config.ServerName, Config.ServerDesc, SERVER_ISME, NULL);
+ me_server = new_server(NULL, Config.ServerName, Config.ServerDesc, SERVER_ISME, (Config.Numeric ? Config.Numeric : ""));
SendServer(me_server);
}