From abc16b919ddb5f1d7d76774691b7d664ca5ef3ea Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 4 Feb 2014 11:33:53 +0100 Subject: {Message,Neighbor}Commands: use Client::partition instead of Main.hxx --- src/command/NeighborCommands.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/command/NeighborCommands.hxx') diff --git a/src/command/NeighborCommands.hxx b/src/command/NeighborCommands.hxx index 7bad946b4..64a7fe120 100644 --- a/src/command/NeighborCommands.hxx +++ b/src/command/NeighborCommands.hxx @@ -23,11 +23,12 @@ #include "CommandResult.hxx" #include "Compiler.h" +struct Instance; class Client; gcc_pure bool -neighbor_commands_available(); +neighbor_commands_available(const Instance &instance); CommandResult handle_listneighbors(Client &client, int argc, char *argv[]); -- cgit v1.2.3