summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 13:57:14 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-09-28 13:57:14 +0200
commitc1cf0a71cfd8aa3441e57592e17de0d34823d305 (patch)
treedaa9d873d62cad56c5f246d6d4dea618d53bf3a5 /src/commands.h
parentb83e8c2d09a357b2f06f10a9a41169c6c4061d46 (diff)
downloadcmumble-c1cf0a71cfd8aa3441e57592e17de0d34823d305.tar.gz
cmumble-c1cf0a71cfd8aa3441e57592e17de0d34823d305.tar.bz2
cmumble-c1cf0a71cfd8aa3441e57592e17de0d34823d305.zip
find_by_id: Fix lookup
The offset should be taken from the (GList *)::data pointer, not the list directly..
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands.h b/src/commands.h
index 6ea8c67..a348f17 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -5,7 +5,8 @@ struct cmumble_context;
struct cmumble_command {
const char *name;
- void (*callback)(struct cmumble_context *);
+ void (*callback)(struct cmumble_context *,
+ int argc, const char *argv);
const char *description;
};