summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorJune McEnroe2022-09-11 17:34:41 -0400
committerJune McEnroe2022-09-11 17:34:41 -0400
commitfcbe7af1e2ac2abb71251a51f5384d22cad9a87a (patch)
treee5583b434defc629f35cf286f69413a1787a610e /handle.c
parentd043bad63ded27b71bf2762f6c07ca1186058cf2 (diff)
Generate /ops from cache
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/handle.c b/handle.c
index a075d02..cebc7e4 100644
--- a/handle.c
+++ b/handle.c
@@ -560,12 +560,6 @@ static void handleErrorUserOnChannel(struct Message *msg) {
 	);
 }
 
-static uint prefixBit(char p) {
-	char *s = strchr(network.prefixes, p);
-	if (!s) return 0;
-	return 1 << (s - network.prefixes);
-}
-
 static void handleReplyNames(struct Message *msg) {
 	require(msg, false, 4);
 	uint id = idFor(msg->params[2]);