diff options
| author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-04 03:44:07 +0000 |
|---|---|---|
| committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-03-04 03:44:07 +0000 |
| commit | a22d9ec3b0ba71f4b1493c2ececd27777a42f65d (patch) | |
| tree | ce3f72607d458a18ef7b35f0162ba9081a98eca6 /src/rageircd.c | |
| parent | 1a1781fd0c4ef763db1ed0c85e797f2e22cf339e (diff) | |
BUILD : 1.7.8 (595) BUGS : N/A NOTES : ShadowIRCD, and cleaned up Numeric
git-svn-id: svn://svn.anope.org/anope/trunk@595 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@444 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/rageircd.c')
| -rw-r--r-- | src/rageircd.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/rageircd.c b/src/rageircd.c index 182a911ef..800b04104 100644 --- a/src/rageircd.c +++ b/src/rageircd.c @@ -748,13 +748,9 @@ void anope_cmd_pong(char *servname, char *who) void anope_cmd_connect(int servernum) { - char buf[16]; - *buf = '\0'; - if (Numeric) { - snprintf(buf, sizeof(buf), "%d", Numeric); me_server = - new_server(NULL, ServerName, ServerDesc, SERVER_ISME, buf); + new_server(NULL, ServerName, ServerDesc, SERVER_ISME, Numeric); } else { me_server = new_server(NULL, ServerName, ServerDesc, SERVER_ISME, NULL); @@ -768,7 +764,7 @@ void anope_cmd_connect(int servernum) anope_cmd_pass(RemotePassword3); anope_cmd_capab(); if (Numeric) { - send_cmd(NULL, "MYID !%d", Numeric); + send_cmd(NULL, "MYID !%s", Numeric); } anope_cmd_server(ServerName, 1, ServerDesc); anope_cmd_svinfo(); |
