瀏覽代碼

This wrapper isn't needed

Bryan Drewery 7 年之前
父節點
當前提交
78a9dd299b
共有 1 個文件被更改,包括 0 次插入7 次删除
  1. 0 7
      src/chanprog.h

+ 0 - 7
src/chanprog.h

@@ -50,13 +50,6 @@ ismember(const struct chanset_t *chan, const RfcString& nick) {
     return NULL;
     return NULL;
   return (*chan->channel.hashed_members)[nick];
   return (*chan->channel.hashed_members)[nick];
 }
 }
-static inline memberlist *
-__attribute__((pure))
-ismember(const struct chanset_t *chan, const char *nick) {
-  if (!chan || !nick || !nick[0])
-    return NULL;
-  return ismember(chan, RfcString(nick));
-}
 struct chanset_t *findchan(const char *name) __attribute__((pure));
 struct chanset_t *findchan(const char *name) __attribute__((pure));
 /*
 /*
  * Find a chanset by display name (ie !channel)
  * Find a chanset by display name (ie !channel)