mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 09:26:39 +02:00
- Made SVSNOOP work. Reported by Lx (#0000933). [not dangerous to fix ;P]
This commit is contained in:
@@ -2109,3 +2109,5 @@ seen. gmtime warning still there
|
||||
- Module coders: I've changed HOOKTYPE_PRE_LOCAL_CONNECT, you must now return '0' to let
|
||||
the client pass and anything else is threated like a return, so you must return
|
||||
FLUSH_BUFFER if you just called exit_client, this fixes a read-already-freed-mem bug.
|
||||
- Added warning message if set::scan exists
|
||||
- Made SVSNOOP work. Reported by Lx (#0000933).
|
||||
|
||||
@@ -106,7 +106,7 @@ int m_svsnoop(aClient *cptr, aClient *sptr, int parc, char *parv[])
|
||||
{
|
||||
aClient *acptr;
|
||||
|
||||
if (!(check_registered(sptr) && IsULine(sptr) && parc > 2))
|
||||
if (!(IsULine(sptr) && parc > 2))
|
||||
return 0;
|
||||
/* svsnoop bugfix --binary */
|
||||
if (hunt_server_token(cptr, sptr, MSG_SVSNOOP, TOK_SVSNOOP, "%s :%s", 1, parc,
|
||||
|
||||
Reference in New Issue
Block a user