A lot of modules parse numerics in OnRaw, and having a dedicated numeric callback will help produce cleaner and faster modules (skipping all events like PRIVMSG, NOTICE, and avoiding the parsing of modules).
Here is the command I tried to execute to find the results: grep 'OnRaw' modules/*.cpp -C 15 | grep -E 'Equals\("..."\)|== "..."'
block_motd.cpp- if (sCmd == "375" /* begin of MOTD */
block_motd.cpp- || sCmd == "372" /* MOTD */)
block_motd.cpp- if (sCmd == "376" /* End of MOTD */) {
keepnick.cpp- if (m_pTimer && sLine.Token(1) == "433" && sLine.Token(3).Equals(GetNick()))
modules_online.cpp- if (sLine.Token(1) == "303" && !m_ISONRequests.empty()) {
partyline.cpp- if (sLine.Token(1) == "005") {
q.cpp- if (sLine.Token(1) == "396" && sLine.Token(3).find("users.quakenet.org") != CString::npos) {
route_replies.cpp- if (sCmd == "461") {
sasl.cpp- } else if (sLine.Token(1).Equals("903")) {
sasl.cpp- } else if (sLine.Token(1).Equals("904") || sLine.Token(1).Equals("905")) {
// Only in PR 1068
stickychan.cpp- if (sNumeric.Equals("479")) {
A lot of modules parse numerics in OnRaw, and having a dedicated numeric callback will help produce cleaner and faster modules (skipping all events like PRIVMSG, NOTICE, and avoiding the parsing of modules).
Here is the command I tried to execute to find the results: `grep 'OnRaw' modules/*.cpp -C 15 | grep -E 'Equals\("..."\)|== "..."'`
```
block_motd.cpp- if (sCmd == "375" /* begin of MOTD */
block_motd.cpp- || sCmd == "372" /* MOTD */)
block_motd.cpp- if (sCmd == "376" /* End of MOTD */) {
keepnick.cpp- if (m_pTimer && sLine.Token(1) == "433" && sLine.Token(3).Equals(GetNick()))
modules_online.cpp- if (sLine.Token(1) == "303" && !m_ISONRequests.empty()) {
partyline.cpp- if (sLine.Token(1) == "005") {
q.cpp- if (sLine.Token(1) == "396" && sLine.Token(3).find("users.quakenet.org") != CString::npos) {
route_replies.cpp- if (sCmd == "461") {
sasl.cpp- } else if (sLine.Token(1).Equals("903")) {
sasl.cpp- } else if (sLine.Token(1).Equals("904") || sLine.Token(1).Equals("905")) {
// Only in PR 1068
stickychan.cpp- if (sNumeric.Equals("479")) {
```
<!-- github-sync-id:105204345 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A lot of modules parse numerics in OnRaw, and having a dedicated numeric callback will help produce cleaner and faster modules (skipping all events like PRIVMSG, NOTICE, and avoiding the parsing of modules).
Here is the command I tried to execute to find the results:
grep 'OnRaw' modules/*.cpp -C 15 | grep -E 'Equals\("..."\)|== "..."'