projects
/
srvx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
implemented set KeepConn time function for later use (relay command)
[srvx.git]
/
src
/
proto-p10.c
diff --git
a/src/proto-p10.c
b/src/proto-p10.c
index d08fb1804fd82c48aaf5a3f9ffcd624d1a48d05a..f544f9f019a2ddc3799bb19de4e0dc013e0a982a 100644
(file)
--- a/
src/proto-p10.c
+++ b/
src/proto-p10.c
@@
-532,6
+532,12
@@
irc_simul(struct userNode *target, char *command)
putsock("%s " P10_RELAY " %s SI %s :%s", self->numeric, target->numeric, target->numeric, command);
}
putsock("%s " P10_RELAY " %s SI %s :%s", self->numeric, target->numeric, target->numeric, command);
}
+void
+irc_keepconn(struct userNode *target, unsigned int timeout)
+{
+ putsock("%s " P10_RELAY " %s KC %s %u", self->numeric, target->numeric, target->numeric, timeout);
+}
+
void
irc_regnick(UNUSED_ARG(struct userNode *user))
{
void
irc_regnick(UNUSED_ARG(struct userNode *user))
{