From: pk910 Date: Tue, 28 Jun 2011 13:35:47 +0000 (+0200) Subject: Fix serious ms_relay bug and drop RL requests if the target server quit. X-Git-Tag: WGN5~60 X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=14045325c8d02cb91066ca1507bec55276c3264b;hp=ed5e136a3f7779ba40d01729e70fa8e061f70266 Fix serious ms_relay bug and drop RL requests if the target server quit. --- diff --git a/ircd/m_relay.c b/ircd/m_relay.c index 12bf741..30731fb 100644 --- a/ircd/m_relay.c +++ b/ircd/m_relay.c @@ -141,6 +141,7 @@ signed int ms_relay(struct Client* cptr, struct Client* sptr, signed int parc, c return 0; } + if(!server) return 0; if(server != &me) { if(parc > 3) { act = buffer;