| # | Line 32 | Line 32 | |
|---|---|---|
| 32 | #include "sprintf_irc.h" | |
| 33 | ||
| 34 | ||
| 35 | + | int |
| 36 | + | has_wildcards(const char *s) |
| 37 | + | { |
| 38 | + | char c; |
| 39 | + | |
| 40 | + | while ((c = *s++)) |
| 41 | + | if (IsMWildChar(c)) |
| 42 | + | return 1; |
| 43 | + | |
| 44 | + | return 0; |
| 45 | + | } |
| 46 | + | |
| 47 | /* | |
| 48 | * myctime - This is like standard ctime()-function, but it zaps away | |
| 49 | * the newline from the end of that string. Also, it takes | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |