Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / class.c
index 32c1febffef804a3abcfc52b78dbfc7bb0d44fad..a3f855f905408d568c2e89c1607a723e32277a53 100644 (file)
@@ -260,7 +260,7 @@ void report_classes(struct Client *sptr)
 unsigned int get_sendq(struct Client *cptr)
 {
   assert(0 != cptr);
-  assert(0 != cptr->local);
+  assert(0 != cli_local(cptr));
 
   if (cli_max_sendq(cptr))
     return cli_max_sendq(cptr);