git.samba.org
/
jelmer
/
ctrlproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c96d88
)
Send simple message upon connect.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 12 Nov 2007 23:19:47 +0000
(
00:19
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 12 Nov 2007 23:19:47 +0000
(
00:19
+0100)
NEWS
patch
|
blob
|
history
src/network.c
patch
|
blob
|
history
diff --git
a/NEWS
b/NEWS
index ae5b79eb205f30d9fdb94281f710ca7f30158abf..ae5a92ab3d039dd4e1b9653a6c8af161b1f48d4a 100644
(file)
--- a/
NEWS
+++ b/
NEWS
@@
-7,6
+7,8
@@
Ctrlproxy 3.0.4 UNRELEASED
* Add ctrlproxy-admin command for command-line access to the admin network.
+ * Send message to the client when ctrlproxy connects to the network.
+
BUG FIXES
* No longer "skip" users on reconnect. (#146)
diff --git
a/src/network.c
b/src/network.c
index 0d7f9112df7794190336e7852f9cae217ca8efe5..a1ebb693a358258ecb7d076ba2542d84efa8f05e 100644
(file)
--- a/
src/network.c
+++ b/
src/network.c
@@
-232,6
+232,9
@@
static gboolean process_from_server(struct network *n, struct line *l)
log_network(LOG_INFO, n, "Successfully logged in");
+ clients_send_args_ex(n->clients, NULL, "NOTICE", "*",
+ "Now connected", NULL);
+
network_update_isupport(&n->info, &n->state->info);
nickserv_identify_me(n, n->state->me.nick);