fixed doubled &&
authorpk910 <philipp@zoelle1.de>
Tue, 28 Jun 2011 13:46:39 +0000 (15:46 +0200)
committerpk910 <philipp@zoelle1.de>
Tue, 28 Jun 2011 13:46:39 +0000 (15:46 +0200)
ircd/m_privmsg.c

index e5edee281d41a4ab32a99821d3d9073cca8309e4..a47656e6c1d2f908ca42f58a2f50ec2813a6f422 100644 (file)
@@ -217,7 +217,7 @@ int mo_privmsg(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
   if (parc < 3 || EmptyString(parv[parc - 1]))
     return send_reply(sptr, ERR_NOTEXTTOSEND);
 
-  if (feature_bool(FEAT_IDLE_FROM_MSG) && && (!cli_user(sptr)->lastmsg || strcmp(cli_user(sptr)->lastmsg, parv[parc - 1])))
+  if (feature_bool(FEAT_IDLE_FROM_MSG) && (!cli_user(sptr)->lastmsg || strcmp(cli_user(sptr)->lastmsg, parv[parc - 1])))
     cli_user(sptr)->last = CurrentTime;
 
   count = unique_name_vector(parv[1], ',', vector, MAXTARGETS);