1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 10:06:38 +02:00

Applied uid fix provided by trystan (delayed in commiting as svn was playing up)

git-svn-id: svn://svn.anope.org/anope/trunk@942 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@673 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
2005-12-04 11:51:12 +00:00
parent e93a95d876
commit da183c9107
2 changed files with 8 additions and 3 deletions
+3
View File
@@ -8,6 +8,9 @@ Provided by Anope Dev. <dev@anope.org> - 2005
11/01 F /os reload - BSFantasyChar was not sstrduped if not defined. [ #00]
10/30 F Updated docs/FAQ. [ #00]
Provided by Trystan <trystan@nomadirc.net> - 2005
11/19 F find_byuid for ircds which didnt give us a uid. [ #00]
Anope Version 1.7.12
--------------------
Provided by Anope Dev. <dev@anope.org> - 2005
+5 -3
View File
@@ -385,9 +385,11 @@ User *find_byuid(const char *uid)
u = first_uid();
while (u) {
next = next_uid();
if (!stricmp(uid, u->uid)) {
return u;
}
if(u->uid) {
if (!stricmp(uid, u->uid)) {
return u;
}
}
u = next;
}
return NULL;