summaryrefslogtreecommitdiff
path: root/src/protocol/bahamut.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-06-15 13:47:46 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-06-15 13:47:46 +0000
commitaa8ba0dc72391ddfaf0c31eee4a966970ff82270 (patch)
treefed08f6b73db56eb13820555ea3ce6d85feab67e /src/protocol/bahamut.c
parent37df212c38feec5c867a60c4d62cece8dd0eead7 (diff)
BUILD : 1.7.19 (1249) BUGS : 726 NOTES : Fixed some jupe stuff: when juping a currently non-existing server, it was still squitted and the globaloncycleup message was sent to newly juped servers
git-svn-id: svn://svn.anope.org/anope/trunk@1249 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@968 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r--src/protocol/bahamut.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 9f0d352cc..11629d890 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -266,7 +266,7 @@ unsigned long umodes[128] = {
UMODE_y, /* y */
0, /* z */
0, 0, 0, /* { | } */
- 0, 0 /* ~ ‚ */
+ 0, 0 /* ~ � */
};
char myCsmodes[128] = {
@@ -1504,7 +1504,8 @@ void bahamut_cmd_jupe(char *jserver, char *who, char *reason)
snprintf(rbuf, sizeof(rbuf), "Juped by %s%s%s", who,
reason ? ": " : "", reason ? reason : "");
- bahamut_cmd_squit(jserver, rbuf);
+ if (findserver(servlist, jserver))
+ bahamut_cmd_squit(jserver, rbuf);
bahamut_cmd_server(jserver, 2, rbuf);
new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL);
}