Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_motd.c
index 966a8b6556680a3c626c7fca119c8bfae6358702..0eb2034333d5b074408399b7fb920b6d5a95bfd9 100644 (file)
@@ -125,7 +125,7 @@ int m_motd(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   struct TRecord *ptr;
   int count;
   struct MotdItem *temp;
-  int class = get_client_class(sptr);
+  int class = get_client_class(cptr);
 
 #ifdef NODEFAULTMOTD
   int no_motd;