chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make logevent keys consistently use '_' again.
[disorder]
/
server
/
server.c
diff --git
a/server/server.c
b/server/server.c
index 1bfa29a05367fb4031c60f545567d07ea03a8458..ad3a7ab9e773663ad6989fc883fe03339fa68426 100644
(file)
--- a/
server/server.c
+++ b/
server/server.c
@@
-879,8
+879,8
@@
static void logclient(const char *msg, void *user) {
c->lo = 0;
return;
}
c->lo = 0;
return;
}
- /* user
-
* messages are restricted */
- if(!strncmp(msg, "user
-
", 5)) {
+ /* user
_
* messages are restricted */
+ if(!strncmp(msg, "user
_
", 5)) {
/* They are only sent to admin users */
if(!(c->rights & RIGHT_ADMIN))
return;
/* They are only sent to admin users */
if(!(c->rights & RIGHT_ADMIN))
return;
@@
-1254,9
+1254,9
@@
static int c_edituser(struct conn *c,
/* Notify any log connections */
if(d->lo)
sink_printf(ev_writer_sink(d->w),
/* Notify any log connections */
if(d->lo)
sink_printf(ev_writer_sink(d->w),
- "%"PRIxMAX" rights
-
changed %s\n",
+ "%"PRIxMAX" rights
_
changed %s\n",
(uintmax_t)time(0),
(uintmax_t)time(0),
-
new_rights
);
+
quoteutf8(new_rights)
);
}
}
}
}
}
}