1
0
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:
Bram Matthys
2003-05-01 19:52:06 +00:00
parent 09f74a9b11
commit e91c2a8eed
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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).
+1 -1
View File
@@ -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,