Fix only unsetting /AWAY on the first network when only_noclient is enabled.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 9 Sep 2007 02:17:19 +0000 (04:17 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 9 Sep 2007 02:17:19 +0000 (04:17 +0200)
AUTHORS
mods/auto_away.c

diff --git a/AUTHORS b/AUTHORS
index 5f8d5053b26871e0433a5710802719913e7a3453..b7663737066a51c22ae9dfb25585b213239174f7 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -14,6 +14,7 @@ Sean Reifschneider <jafo@tummy.com> (.spec file, bug reports, doc update)
 Korbinian Rosenegger (large number of bugreports and patches)
 Modestas Vainius <geromanas@mailas.com> (patches)
 Alexander Wild <wild@te-elektronik.com> (patches)
+Adeodato Simó (patches)
 
 and several others (see the history in Bazaar for details)
 
index 83d42aa66a4149fc74d05e7b414c82adae1e6a38..fa977daff6afbdbd0f5ab31c12e518f24b5c1eb7 100644 (file)
@@ -89,7 +89,7 @@ static gboolean new_client(struct client *c, void *userdata)
 {
        struct auto_away_data *d = userdata;
 
-       if (d->is_away && d->only_for_noclients) 
+       if (d->only_for_noclients) 
                network_send_args(c->network, "AWAY", NULL);
 
        return TRUE;