projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3bbea6
)
fixed 0 fakehost if srvx tries to tell us that theres no fakehost
author
pk910
<philipp@zoelle1.de>
Thu, 21 Jul 2011 01:00:55 +0000
(
03:00
+0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 21 Jul 2011 01:00:55 +0000
(
03:00
+0200)
ircd/m_relay.c
patch
|
blob
|
history
diff --git
a/ircd/m_relay.c
b/ircd/m_relay.c
index 7d8a6e1abd2730bf0f69b9ba5c7ae64a5558fdce..8aa687e0b6b6ebff06e7dc53c482e403eba78a7b 100644
(file)
--- a/
ircd/m_relay.c
+++ b/
ircd/m_relay.c
@@
-39,7
+39,7
@@
static void loc_handler_LR(const char *num, char *parv[], signed int parc) {
static void loc_handler_LA(const char *num, char *parv[], signed int parc) {
if(num[0] != '!' || parc < 1) return;
char *fakehost = NULL;
- if (parc > 1 &&
parv[1] != "0")
+ if (parc > 1 &&
!strcmp(parv[1], "0")) // 0 = no fakehost
fakehost=parv[1];
if(parc > 2)