projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git]
/
ircd
/
m_privmsg.c
diff --git
a/ircd/m_privmsg.c
b/ircd/m_privmsg.c
index 1d257e31c13321e7e3158388d2d134dfb1971f03..b9928dc192b146d85bf6d52991eb6701cbebe101 100644
(file)
--- a/
ircd/m_privmsg.c
+++ b/
ircd/m_privmsg.c
@@
-85,6
+85,7
@@
#include "ircd.h"
#include "ircd_chattr.h"
#include "ircd_features.h"
#include "ircd.h"
#include "ircd_chattr.h"
#include "ircd_features.h"
+#include "ircd_log.h"
#include "ircd_relay.h"
#include "ircd_reply.h"
#include "ircd_string.h"
#include "ircd_relay.h"
#include "ircd_reply.h"
#include "ircd_string.h"
@@
-93,7
+94,7
@@
#include "numeric.h"
#include "send.h"
#include "numeric.h"
#include "send.h"
-#include <assert.h>
+/* #include <assert.h> -- Now using assert in ircd_log.h */
#include <string.h>
/*
#include <string.h>
/*
@@
-145,7
+146,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[])
{
*/
int ms_privmsg(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
{
@@
-201,7
+202,7
@@
int mo_privmsg(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
assert(cptr == sptr);
assert(0 != cli_user(sptr));
assert(cptr == sptr);
assert(0 != cli_user(sptr));
- ClrFlag(
c
ptr, FLAG_TS8);
+ ClrFlag(
s
ptr, FLAG_TS8);
if (feature_bool(FEAT_IDLE_FROM_MSG))
cli_user(sptr)->last = CurrentTime;
if (feature_bool(FEAT_IDLE_FROM_MSG))
cli_user(sptr)->last = CurrentTime;