]> jfr.im git - irc/gameservirc.git/commit - gameserv/gameserv.cpp
Fixed a bug in do_register that was not adding players to the lists correctly.
authorkainazzzo <redacted>
Mon, 26 Apr 2004 21:38:43 +0000 (21:38 +0000)
committerkainazzzo <redacted>
Mon, 26 Apr 2004 21:38:43 +0000 (21:38 +0000)
commitae2685f6460ca012d2346ac912c16c23e032a4aa
treefa72fd536a8309cb449f726b91756b17c1ffabe3
parent19a038e4c64f948dab6cebda49a3f9c2e73017b4
Fixed a bug in do_register that was not adding players to the lists correctly.
Pointers for the clients and players list were not the same memory address, so
List::Find() was not finding newly registered players if referenced by their
IRC aClient... also a waste of memory.

git-svn-id: https://svn.code.sf.net/p/gameservirc/code/trunk@179 bc333340-6410-0410-a689-9d09f3c113fa
gameserv/Changes
gameserv/gameserv.cpp
gameserv/list.h