Clean up comments and channel prefix list in a test file.
[ircu2.10.12-pk.git] / ircd / m_privmsg.c
index 1d257e31c13321e7e3158388d2d134dfb1971f03..28e6fd41060f0f76bdb73d24b28dbb56f24163bf 100644 (file)
@@ -145,7 +145,7 @@ int m_privmsg(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 }
 
 /*
- * ms_privmsg - server message handler template
+ * ms_privmsg - server message handler
  */
 int ms_privmsg(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 {
@@ -201,7 +201,7 @@ int mo_privmsg(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   assert(cptr == sptr);
   assert(0 != cli_user(sptr));
 
-  ClrFlag(cptr, FLAG_TS8);
+  ClrFlag(sptr, FLAG_TS8);
 
   if (feature_bool(FEAT_IDLE_FROM_MSG))
     cli_user(sptr)->last = CurrentTime;