version 1.84, 2013/01/30 17:00:17 |
version 1.85, 2013/03/21 16:14:09 |
|
|
if (!(c->flags & CLIENT_PREFIX)) { |
if (!(c->flags & CLIENT_PREFIX)) { |
if (isprefix) { |
if (isprefix) { |
c->flags |= CLIENT_PREFIX; |
c->flags |= CLIENT_PREFIX; |
|
server_status_client(c); |
return; |
return; |
} |
} |
|
|
|
|
|
|
/* Prefix key already pressed. Reset prefix and lookup key. */ |
/* Prefix key already pressed. Reset prefix and lookup key. */ |
c->flags &= ~CLIENT_PREFIX; |
c->flags &= ~CLIENT_PREFIX; |
|
server_status_client(c); |
if ((bd = key_bindings_lookup(key | KEYC_PREFIX)) == NULL) { |
if ((bd = key_bindings_lookup(key | KEYC_PREFIX)) == NULL) { |
/* If repeating, treat this as a key, else ignore. */ |
/* If repeating, treat this as a key, else ignore. */ |
if (c->flags & CLIENT_REPEAT) { |
if (c->flags & CLIENT_REPEAT) { |
|
|
{ |
{ |
struct client *c = data; |
struct client *c = data; |
|
|
if (c->flags & CLIENT_REPEAT) |
if (c->flags & CLIENT_REPEAT) { |
|
if (c->flags & CLIENT_PREFIX) |
|
server_status_client(c); |
c->flags &= ~(CLIENT_PREFIX|CLIENT_REPEAT); |
c->flags &= ~(CLIENT_PREFIX|CLIENT_REPEAT); |
|
} |
} |
} |
|
|
/* Check if client should be exited. */ |
/* Check if client should be exited. */ |