]> jfr.im git - solanum.git/blobdiff - modules/core/m_squit.c
Replace parv[0] with source_p->name.
[solanum.git] / modules / core / m_squit.c
index 28362218654aa0fd09ab9f6d976cfcdaa1e47432..e53e2910036e4a2c6b4678d121b9e175751bd53a 100644 (file)
@@ -148,7 +148,7 @@ ms_squit(struct Client *client_p, struct Client *source_p, int parc, const char
                              ":%s WALLOPS :Remote SQUIT %s from %s (%s)",
                              me.id, target_p->name, source_p->name, comment);
 
-               ilog(L_SERVER, "SQUIT From %s : %s (%s)", parv[0], target_p->name, comment);
+               ilog(L_SERVER, "SQUIT From %s : %s (%s)", source_p->name, target_p->name, comment);
        }
        exit_client(client_p, target_p, source_p, comment);
        return 0;