diff options
author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-08 20:23:00 +0000 |
---|---|---|
committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-04-08 20:23:00 +0000 |
commit | 973ecb7058325931d14a9537e5e3e57595347a10 (patch) | |
tree | 43585f36085949a1b494374572fa4e3dc25b0960 /src/protocol/unreal32.c | |
parent | e1ff14e0c44d0a115372a821559b782c57c793f3 (diff) |
Rewrote sockets. This adds support for IPv6 and makes Anope capable of reconnecting if it loses connection to the uplink.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2862 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 5 |
1 files changed, 1 insertions, 4 deletions
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); } |