1
0
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:
griever
2002-02-05 23:47:44 +00:00
parent 30b0175a39
commit ae0f7643dd
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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],