mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 06:16:38 +02:00
Fixing broken tokens
This commit is contained in:
@@ -1174,3 +1174,4 @@ v- Fixed some bugreport stuff
|
||||
UnlockEventSystem(). In EVENT() functions, the system _is_ locked.
|
||||
This might fix the double recursion mutex problem we got.
|
||||
- More -Wall cleanups
|
||||
- Fixed hunt_server_token (use IsToken on acptr->from, not acptr)
|
||||
|
||||
+1
-1
@@ -398,7 +398,7 @@ int hunt_server_token(aClient *cptr, aClient *sptr, char *command, char *token,
|
||||
return HUNTED_ISME;
|
||||
if (match(acptr->name, parv[server]))
|
||||
parv[server] = acptr->name;
|
||||
if (IsToken(acptr)) {
|
||||
if (IsToken(acptr->from) {
|
||||
sprintf(buff, ":%s %s ", parv[0], token);
|
||||
strcat(buff, params);
|
||||
sendto_one(acptr, buff, parv[1], parv[2],
|
||||
|
||||
Reference in New Issue
Block a user