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:
53e9630
)
Fixed m_relay altchan check
author
pk910
<philipp@zoelle1.de>
Sat, 16 Jul 2011 23:02:30 +0000
(
01:02
+0200)
committer
pk910
<philipp@zoelle1.de>
Sun, 17 Jul 2011 00:06:43 +0000
(
02:06
+0200)
ircd/m_relay.c
patch
|
blob
|
history
diff --git
a/ircd/m_relay.c
b/ircd/m_relay.c
index fc8e1cd4ce4bb356eefa65d36b1a4e2c91563c28..7d8a6e1abd2730bf0f69b9ba5c7ae64a5558fdce 100644
(file)
--- a/
ircd/m_relay.c
+++ b/
ircd/m_relay.c
@@
-230,7
+230,8
@@
signed int ms_relay(struct Client* cptr, struct Client* sptr, signed int parc, c
struct Client *acptr;
struct Channel *chptr;
if(acptr = findNUser(parv[1])) {
- if(chptr = FindChannel(parv[3]) && chptr->mode.altchan &&
+ if(IsChannelName(parv[3]) && strIsIrcCh(parv[3]) &&
+ (chptr = FindChannel(parv[3])) && chptr->mode.altchan &&
IsChannelName(chptr->mode.altchan) && strIsIrcCh(chptr->mode.altchan)) {
mode_a_check_altchan(acptr,chptr->mode.altchan);
}