X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fm_join.c;h=e6fea02fbb745d8204ccc55e5974c1fd80efd68e;hb=80881d85337d93d70b67a505ae5178199b1b3155;hp=657bc4e7398c54abb4df031f022b3a532725da29;hpb=21adc78c56f940806a7902356f21fa52e54a76ff;p=ircu2.10.12-pk.git diff --git a/ircd/m_join.c b/ircd/m_join.c index 657bc4e..e6fea02 100644 --- a/ircd/m_join.c +++ b/ircd/m_join.c @@ -316,8 +316,7 @@ int ms_join(struct Client *cptr, struct Client *sptr, int parc, char *parv[]) char *name; if (IsServer(sptr)) { - Debug((DEBUG_ERROR, "%s tried to JOIN a channel", sptr->name)); - return 0; + return protocol_violation(sptr,"%s tried to JOIN a channel, duh!", sptr->name); } if (parc < 2 || *parv[1] == '\0')